package com.kcsj.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
/**
 * @author 胡庆阳
 * 29th Nov. 2020
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class File {
    private int id;
    private String fileName;
    private String filePath;
    private LocalDateTime createTime;

    public File(String filename, String savePath, LocalDateTime createTime) {
        this.fileName = filename;
        this.filePath = savePath+filename;
        this.createTime = createTime;
    }
}
